package com.wulis.provider.basic.model.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author WuliBao
 * @date 2020-05-21
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "新增职位DTO")
public class InsertPositionDto {
    
    @NotBlank
    @ApiModelProperty(value = "职位名称")
    private String positionName;
    
    @NotNull
    @ApiModelProperty(value = "启用状态：0关闭 1启用")
    private Integer enable;
}
